
#ifndef DEMO_H
#define DEMO_H

#include "Scene.h"

#include "Button.h"

#include "ParallaxContainer.h"

#include "TouchListener.h"

#include <iostream>

class Meteor::Tween;

class Meteor::ParallaxContainer;

class Meteor::DrawableContainer;

// -----------------------------------------------------------------------------

class DemoScene : public Meteor::Scene, public Meteor::TouchListener
{
    private:
        Meteor::Button* mNess;
    
        Meteor::TextElement* label;
    
        Meteor::Tween* mAnimation;
    
        Meteor::DrawableContainer* mBackground;

    public:
        DemoScene();
        virtual ~DemoScene();    
        
        void Update( const float deltatime);
    
        void buttonTouched();
        
        void textureAdded();
    
        void TouchBegan( const Meteor::Vector2D& position);
        
        void TouchMoved( const Meteor::Vector2D& position);
        
        void TouchEnded( const Meteor::Vector2D& position, double duration);
    
};


#endif